package net.lanelife.casino.caipiao.entity.statistics;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import net.lanelife.casino.caipiao.entity.User;
import net.lanelife.casino.caipiao.entity.statistics.support.BaseUserStatistics;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * 团队统计表
 * @author Lane
 *
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "TB_TEAM_STATISTICS", indexes = {
		@Index(columnList = "USER_ID", unique = true),
		@Index(columnList = "USER_NAME", unique = true)
})
public class TeamStatistics extends BaseUserStatistics<Integer> {

	private static final long serialVersionUID = 1051720828425215824L;

	public TeamStatistics() {}

	public TeamStatistics(User user) {
		super(user);
	}

}
